#include "UpperSetKNXMacResponseCmd.h"
#include "Main/GateWay.h"
UpperSetKNXMacResponseCmd::UpperSetKNXMacResponseCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::CloudProtocol;
    this->m_functionCode = FunctionCode;
    m_status=0;
}
Package UpperSetKNXMacResponseCmd::toPackage()
{
    Package package;
    QByteArray body;
   body.append(m_status);

    package.setId(m_cmdId);
    package.setFunction(FunctionCode);
    package.setBody(body);

    return package;
}

void UpperSetKNXMacResponseCmd::unPackage(Package package)
{

}

